package cn.fintecher.pangolin.service.repair.client;

import cn.fintecher.pangolin.entity.mysql.SysParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("manage-service")
public interface SysParamClient {
    @RequestMapping(method = RequestMethod.GET, value = "/api/sysParamController/querySysParamByCode")
    ResponseEntity<SysParam> querySysParamByCode(@RequestParam("code") String code);
}
